package com.cskaoyan.service;



import com.cskaoyan.bean.BO.GoodsBO;
import com.cskaoyan.bean.PO.MarketGoods;
import com.cskaoyan.bean.VO.GoodsCatAndBrandVo;
import com.cskaoyan.bean.VO.GoodsDetailVo;
import com.cskaoyan.bean.VO.MarketGoodsVo;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import org.springframework.stereotype.Service;
/**
 * @author linhanxin
 * @date 2022/8/13.
 */
@Service
public interface GoodsService {

    CommonData<MarketGoodsVo> query(BasePageInfo info,String goodsSn,Integer id, String name);

    void delete(Integer id);

    void createGoods(GoodsBO goodsBO);

    void updateGoods(GoodsBO goodsUpdateBO);

    GoodsDetailVo detail(Integer id);

    GoodsCatAndBrandVo catAndBrand();
}
